﻿#ifndef LABEL_CAN_H
#define LABEL_CAN_H

#include <QLabel>
#include <QObject>

class LabelCan : public QLabel
{
	Q_OBJECT

public:
	explicit LabelCan(QWidget* parent = 0);

protected:
	virtual void mousePressEvent(QMouseEvent* event);	// 重新声明 mousePressEvent 处理函数

protected:
	virtual bool event(QEvent* e);	// 声明 event(）函数
};

#endif // LABEL_CAN_H
